package com.traffic.managent.model.product;

import com.jfinal.plugin.activerecord.Db;
import com.traffic.managent.annotation.ModelBind;
import com.traffic.managent.base.SessionUser;

@ModelBind(table = "cx_auditing", key = "ids")
public class Auditing extends SessionUser<Auditing> {

	private static final long serialVersionUID = 1L;
	public static final Auditing dao = new Auditing();

	public void updateStatus2(String ids, String updatePerson, String status) {
		String sql = "update cx_auditing t set t.status='" + status + "',t.auditTime = now(),t.auditPerson = '"
				+ updatePerson + "' where t.ids= '" + ids + "'";
		Db.update(sql);
	}
}
